package jdmx.library.da;

import java.util.ArrayList;

public class Filter {
	private ArrayList<FilterField> fields;
	
	public Filter() {
		fields = new ArrayList<FilterField>();
	}
	
	public void addField(String name, Object value) {
		fields.add(new FilterField(name, value));
	}
	
	public ArrayList<FilterField> getFields() {
		return fields;
	}
	
	public void clear() {
		fields.clear();
	}
}

